package com.lbmb.mdps.workbench.dao;

import com.lbmb.mdps.commons.domain.PurchaseReceive;
import com.lbmb.mdps.commons.domain.UserReceive;
import com.lbmb.mdps.workbench.domain.Purchase;

import java.util.List;

/**
 * @author WJP
 * @date 2022-05-30 1:21
 * description
 */
public interface PurchaseDao {
    int addPurchase(Purchase purchase);

    List<Purchase> purchasePageList(PurchaseReceive purchaseReceive);

    Integer getPurchaseTotal(PurchaseReceive purchaseReceive);

    int editOrderState(UserReceive userReceive);

    int getPurchaseNumberByEmployeeId(Long id);
}
